<div class="r0 p10 pt0 col-xs-12" ng-controller="upCtrl">
	<div class="col-xs-12 p0">
		<form ng-submit="submitForm('user/module/upAddOrUpdate.do',null,null,'upDialog')">
			<table class="table table-bordered">
				<tr>
					<td class="tc">模块名称</td>
					<td class="tc" colspan="3">
						<input  class="form-control"  type="text" ng-model="model.moduleName" required readonly placeholder="模块名">
					</td>
				</tr>
				<tr>
					<td class="tc">项目</td>
					<td class="tc" colspan="3">
						<input  class="form-control" type="text" ng-model="model.projectName" required readonly>
					</td>
				</tr>
				<tr>
					<td class="tc">模块Url</td>
					<td class="tc" colspan="3">
						<div class="input-group w">
							<input  class="form-control" type="text" ng-model="model.upstream_url" required placeholder="必选，接口地址=模块url+接口url">
							<div class="btn input-group-addon adorn-color p0 f30" onclick="tooltip('url-helf')" id="url-helf" data-toggle="tooltip" 
							title="该URL设置只对当前模块下的所有接口有效"><i class="iconfont">&#xe630;</div>
						</div>
					</td>
				</tr>
				<tr>
					<td class="tc">重连次数(秒)</td>
					<td class="tc" colspan="3">
						<input  class="form-control"  min="0" max="10" value="5" required type="number" ng-model="model.retries" required placeholder="重连次数">
					</td>
				</tr>
				<tr>
					<td class="tc">连接超时(秒)</td>
					<td class="tc" colspan="3">
						<input  class="form-control"  min="0" max="600000" value="60000" required type="number" ng-model="model.upstream_connect_timeout" required placeholder="连接超时(毫秒)">
					</td>
				</tr>
				<tr>
					<td class="tc">发送超时(秒)</td>
					<td class="tc" colspan="3">
						<input  class="form-control"  min="0" max="600000" value="60000" required type="number" ng-model="model.upstream_send_timeout" required placeholder="连接超时(毫秒)">
					</td>
				</tr>

				<tr>
					<td class="tc">读取超时(秒)</td>
					<td class="tc" colspan="3">
						<input  class="form-control"  min="0" max="600000" value="60000" required type="number" ng-model="model.upstream_read_timeout" required placeholder="连接超时(毫秒)">
					</td>
				</tr>
			</table>
			<button type="submit" class="btn btn-success fr">提交</button>
		</form>

		
	</div>
</div>
<div class="cb"></div>

